import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/view/Login/Login.vue'
import Register from '@/view/Register/Register.vue'


Vue.use(Router)
// 加载视图

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'login',
      component: Login
    },
    {
      path: '/register',
      name: 'register',
      component: Register
    }
  ]
})
